a = ''.join('abcd')
print(a)  # abcd
print(type(a))  # <class 'str'>

b = '|'.join('abcd')
print(b)  # a|b|c|d
print(type(b))  # <class 'str'>

c = '-'.join('abcd')
print(c)  # a-b-c-d
print(type(c))  # <class 'str'>

d = '-'.join(map(str, range(5)))
print(d)  # 0-1-2-3-4
print(type(d))  # <class 'str'>

e = '\t'.join(map(str, range(20, 26)))
print(e)  # 20	21	22	23	24	25
print(type(e))  # <class 'str'>
